package com.huawei.hms.framework.network.restclient.dnkeeper;

import com.huawei.hms.framework.network.restclient.hwhttp.dns.DnsResult;
import java.util.concurrent.Future;

public class RequestRecord {
    private DnsResult dnsResult = new DnsResult();
    private Future future;
    private boolean isNeedUpdate = false;
    private long requestTime = 0;

    public boolean isNeedUpdate() {
        return this.isNeedUpdate;
    }

    public void setNeedUpdate(boolean z) {
        this.isNeedUpdate = z;
    }

    public long getRequestTime() {
        return this.requestTime;
    }

    public void setRequestTime(long j) {
        this.requestTime = j;
    }

    public Future getFuture() {
        return this.future;
    }

    public void setFuture(Future future) {
        this.future = future;
    }

    public DnsResult getDnsResult() {
        return this.dnsResult;
    }

    public void setDnsResult(DnsResult dnsResult) {
        this.dnsResult = dnsResult;
    }
}
